export const KEYS_INFO = [
  { key: 'name', name: '单位名称' },
  { key: 'areaName', name: '所属区域' },
  { key: 'address', name: '详细地址' },
  { key: 'flagName', name: '监管类别' },
  { key: 'typeName', name: '单位类别' },
  { key: 'tradeName', name: '行业类别' },
  { key: 'point', name: '单位坐标' },
  { key: 'chemical', name: '是否涉及化学品' },
  { key: 'image', name: '单位图片' },
]

export const KEYS_CONTACT = [
  { key: 'corporation', name: '消防责任人(法人)' },
  { key: 'corporationMobile', name: '责任人电话' },
  { key: 'corporationIdCard', name: '责任人身份证' },
  { key: 'proFireManagerName', name: '消防管理员' },
  { key: 'proFireManagerMobile', name: '管理员电话' },
  { key: 'proFireManagerIdCard', name: '管理员身份证' }
]

export const KEYS_FIRE = [
  { key: 'relationName', name: '监管政府' },
  { key: 'relationUser', name: '监管负责人' },
  { key: 'relationUserPhone', name: '负责人电话' },
]

export const KEYS_DETAILS = [
  { key: 'registerTime', name: '成立时间', func: 'timeSlice' },
  { key: 'postalCode', name: '邮政编码' },
  { key: 'ownerCodeName', name: '单位代码' },
  { key: 'floorSpace', name: '占地面积(平方米)' },
  { key: 'asset', name: '固定资产(万)' },
  { key: 'peopleScale', name: '职工人数' },
  { key: 'economicTypeName', name: '经济类型' },
  { key: 'industryTypeName', name: '所属行业' },
  { key: 'propertyOwnerName', name: '所属物业' },
]

export const KEYS_EDIT = [
  'id',
  'intro',
  'image',
  'industryType',
  'bindStatus',
  'proFireManagerName',
  'proFireManagerMobile',
  'proFireManagerIdCard',
  'ownerCode',
  'relationId',
  'relationUser',
  'relationUserPhone',
  'corporation',
  'corporationMobile',
  'corporationIdCard',
  'economicType',
  'peopleScale',
  'asset',
  'postalCode',
  'floorSpace',
  'propertyOwnerId',
  'areaId',
  'registerTime',
  'type',
  'flag',
  'address',
  'name',
  'areaName',
  'x',
  'y',
  'propertyOwnerName',
  'onlyTask',
  'chemical',
  'trade'
];

export const DICT = [
  "area.type",
  "owner.flag",
  "owner.type",
  "area.onlineType",
  "owner.code",
  "owner.regulatoryLevel",
  "owner.safetyLevel",
  "owner.system.type",
  "owner.tags",
  "economic.type",
  "owner.fire.industry.type",
  "owner.status",
  "owner.trade"
];

